package action.user;

import java.io.InputStream;
import service.UserService;
import util.ObjectFactory;
import action.BaseAction;


public class CheckCodeAction extends BaseAction{
	//output
	private InputStream inputStream;
	
	public String execute()throws Exception{
		UserService service = ObjectFactory.getInstance(UserService.class);
		inputStream=service.checkCode(session);
		return "success";
	}

	public InputStream getInputStream() {
		return inputStream;
	}

	public void setInputStream(InputStream inputStream) {
		this.inputStream = inputStream;
	}
	
}
